package com.itheima.Compute;

public class ArithmeticoperatorDemo4 {
    public static void main(String[] args) {
        //自增自减运算符
        //了解先用后加，先加后用
        int x = 10;
        int y = x++;
        int z = ++x;
        System.out.println("x:"+ x);
        System.out.println("y:"+ y);
        System.out.println("z:"+ z);
    }
}
